<?php foreach($output['list']  as  $key =>$item): ?>
    <li>
        <a class="flex_display" href="index.php?act=itinerary&op=info&irid=<?php echo $item['id']; ?>">
            <div class="food_img flex-0"><img src="<?php echo $item['ir_thumb']; ?>" alt="美食图片"></div>
            <div class="food_info flex-1">
                <h1 class="p-2"><?php echo $item['ir_title']; ?></h1>
                <h5><?php echo $item['label']; ?></h5>
                <div class="color_red food_price">￥<?php echo $item['price']; ?><span class="">已售<b class="color_red"><?php echo $item['sales']; ?></b>件</span></div>
            </div>
        </a>
    </li>
<?php endforeach; ?>